package com.njmaomao.gj.pyot.common.bean;

import javax.validation.constraints.Min;

import io.swagger.annotations.ApiModelProperty;

public class PageRequest extends BaseRequest {

	private static final long serialVersionUID = 1089621304047195158L;

	@ApiModelProperty(value = "每页数量")
    @Min(1)
    private Integer pageSize;

    @ApiModelProperty(value = "页码（最小为1）")
    @Min(1)
    private Integer pageNum;

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

}
